import request from '@/utils/request'
//品牌数据
//增
export const reqAddTrademark = (tmName, logoUrl) =>
  request.post(`/admin/product/baseTrademark/save`, { tmName, logoUrl })
//删
export const reqDeleteTrademark = id => request.delete(`/admin/product/baseTrademark/remove/${id}`)
//改
export const reqChangeTrademark = (id, tmName, logoUrl) =>
  request.put(`/admin/product/baseTrademark/update`, { id, tmName, logoUrl })
//查
export const reqBaseTrademark = (page, limit) =>
  request.get(`/admin/product/baseTrademark/${page}/${limit}`)
